package ModelLayer;


/**
 * Write a description of class Udlaan here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Udlaan
{
    // instance variables - replace the example below with your own
    private int id;
    private String dato;
    private String periode;
    private String status;
    private Person person;
    private Eksemplar eksemplar;

    /**
     * Constructor for objects of class Udlaan
     */
    public Udlaan(int id, String dato, String periode, String status, Person person, Eksemplar eksemplar)
    {
        this.id = id;
        this.dato = dato;
        this.periode = periode;
        this.status = status;
        this.person = person;
        this.eksemplar = eksemplar;
    }

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    public String getDato()
    {
        return dato;
    }
    
    public String getPeriode()
    {
        return periode;
    }
    
    public String getStatus()
    {
        return status;
    }
    
    public Eksemplar getEksemplar()
    {
        return eksemplar;
    }
    
    public Person getPerson()
    {
        return person;
    }
    
    public int getId()
    {
        return id;
    }
    
}
